<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>标签自定义属性</title>
</head>
<body>
<!-- table 主要用户呈现格式化数据，表格是由行和列组成 -->
<!--  rowspan 跨列 -->
<!--  cowspan 跨行 -->
<table border="1" width="400" align="center" cellpadding="0">
    <caption>
        测试
    </caption>
    <tr align="center" valign="middle">
        <th>表头1</th>
        <th>表头2</th>
        <th>表头3</th>
        <th>表头4</th>
    </tr>
    <tr align="center" valign="middle">
        <td rowspan="2">表头1</td>
        <td>表头2</td>
        <td>表头3</td>
        <td>表头4</td>
    </tr>
    <tr align="center" valign="middle">
        <td>表头2</td>
        <td>表头3</td>
        <td>表头4</td>
    </tr>
    <tr align="center" valign="middle">
        <td colspan="2">表头1</td>
        <td>表头3</td>
        <td>表头4</td>
    </tr>
</table>


</body>
</html>